package com.lingyu.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lingyu.dao.PrasieMapper;
import com.lingyu.pojo.Prasie;

@Service
public class PraiseBiz implements IPraiseBiz{
	
	@Autowired
	private PrasieMapper prasieMapper;
	@Override
	public int insert(Prasie prasie) {
		return prasieMapper.insert(prasie);
	}
	@Override
	public int delete(Prasie prasie) {
		return prasieMapper.deleteByPrimaryKey(prasie);
	}

}
